<template>
	<div class="container">
		<div class="bg-gradient"></div>
		<div class="logo">
			<image src="~@/static/logo.png" alt="" mode="aspectFit" />
			<!-- <div>囍家婚戒</div> -->
		</div>
		<div class="btn-warp">
			<button class="btn" open-type="getUserInfo" @getuserinfo="toReg">立即注册</button>
			<div class="tab">
				<div class="tab-item" @click="toLogin">已有账号登录</div>
				<!--  #ifdef APP-PLUS || H5 -->
			<!-- 	<div class="tab-item" @click="toLogin">第三方登录</div> -->
				<!--  #endif -->
			</div>
		</div>
	</div>
</template>

<script>
import data from '@/js/publics/reg/data.js';
import methods from '@/js/publics/reg/methods.js';
export default {
	data,
	methods,
	onLoad(e) {
		setTimeout(function () {
				    uni.hideLoading();
				}, 200);
	},
	onShow() {},
	onHide() {},
	components: {}
};
</script>

<style scoped lang="scss">
@import '~@/style/publics/reg.scss';
</style>
